package com.example.mapper;

import com.example.pojo.UserManager;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.transaction.annotation.Transactional;

@Mapper
public interface UserManagerMapper {


    /*
    根据用户名和密码查询用户信息，进行登录功能
     */
    @Select("select * from usermanager where username=#{username} and password=#{password}")
    UserManager login(UserManager userManager);
}
